xen: Use a typesafe to define INVALID_MFN
authorJulien Grall <julien.grall@arm.com>
Fri, 24 Jun 2016 14:38:54 +0000 (15:38 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 13 Jul 2016 13:08:24 +0000 (14:08 +0100)
commit246a5a3377c2daea30802fecbc255f4aa4981dfa
treee302439f2933264db27864b79c232c04c1da18ac
parentf71d2e6a91b5fcfec56dd16e54d91d3ab3419863
xen: Use a typesafe to define INVALID_MFN

Also take the opportunity to convert arch/x86/debug.c to the typesafe
mfn and use proper printf format for MFN/GFN when the code around is
modified.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Kevin Tian <kevin.tian@intel.com>
18 files changed:
xen/arch/arm/p2m.c
xen/arch/x86/cpu/mcheck/mce.c
xen/arch/x86/debug.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/viridian.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/mm/guest_walk.c
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/p2m-ept.c
xen/arch/x86/mm/p2m-pod.c
xen/arch/x86/mm/p2m-pt.c
xen/arch/x86/mm/p2m.c
xen/arch/x86/mm/paging.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/multi.c
xen/common/domain.c
xen/common/grant_table.c
xen/include/xen/mm.h